Skip to content

docs: blog post on read-cache-after-write consistency#3194

Merged
csviri merged 11 commits intonextfrom
blog-read-after-write
Mar 13, 2026
Merged

docs: blog post on read-cache-after-write consistency#3194
csviri merged 11 commits intonextfrom
blog-read-after-write

Conversation

@csviri
Copy link
Collaborator

@csviri csviri commented Mar 1, 2026

Signed-off-by: Attila Mészáros a_meszaros@apple.com

@openshift-ci openshift-ci bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Mar 1, 2026
@csviri csviri changed the title [WIP] BLog post on read-cache-after-write consistency [WIP] Blog post on read-cache-after-write consistency Mar 1, 2026
@openshift-merge-robot openshift-merge-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Mar 6, 2026
@csviri csviri force-pushed the blog-read-after-write branch from 4ee62d8 to d1d0133 Compare March 9, 2026 17:17
@openshift-merge-robot openshift-merge-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Mar 9, 2026
@csviri csviri force-pushed the blog-read-after-write branch from 0ea2ba4 to 16ea561 Compare March 13, 2026 07:40
@openshift-merge-robot openshift-merge-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Mar 13, 2026
@csviri csviri marked this pull request as ready for review March 13, 2026 13:36
Copilot AI review requested due to automatic review settings March 13, 2026 13:36
@openshift-ci openshift-ci bot requested review from metacosm and xstefank March 13, 2026 13:36
csviri added 9 commits March 13, 2026 14:36
Signed-off-by: Attila Mészáros <a_meszaros@apple.com>
Signed-off-by: Attila Mészáros <a_meszaros@apple.com>
Signed-off-by: Attila Mészáros <a_meszaros@apple.com>
Signed-off-by: Attila Mészáros <a_meszaros@apple.com>
Signed-off-by: Attila Mészáros <a_meszaros@apple.com>
Signed-off-by: Attila Mészáros <a_meszaros@apple.com>
Signed-off-by: Attila Mészáros <a_meszaros@apple.com>
Signed-off-by: Attila Mészáros <a_meszaros@apple.com>
Signed-off-by: Attila Mészáros <a_meszaros@apple.com>
@csviri csviri force-pushed the blog-read-after-write branch from ebcf9bc to 10ccea7 Compare March 13, 2026 13:36
@openshift-merge-robot openshift-merge-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Mar 13, 2026
@csviri csviri changed the title [WIP] Blog post on read-cache-after-write consistency docs: blog post on read-cache-after-write consistency Mar 13, 2026
@openshift-ci openshift-ci bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Mar 13, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds documentation content describing the new read-cache-after-write consistency feature and links it from existing release/blog pages; also adjusts an SSA patching integration test reconciler to use reschedule() behavior.

Changes:

  • Add a new blog post explaining read-cache-after-write consistency and event filtering.
  • Update the v5.3 release post and a deprecated blog post to link to the new blog post.
  • Modify PatchResourceWithSSAReconciler to reschedule reconciliation (test behavior).

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 7 comments.

File Description
operator-framework/src/test/java/io/javaoperatorsdk/operator/baseapi/patchresourcewithssa/PatchResourceWithSSAReconciler.java Changes how the test reconciler schedules the “next pass” reconciliation.
docs/content/en/blog/releases/v5-3-release.md Adds a link to the new read-after-write consistency blog post from the 5.3 release notes.
docs/content/en/blog/news/read-after-write-consistency.md New blog post describing the read-cache-after-write consistency feature and rationale.
docs/content/en/blog/news/primary-cache-for-next-recon.md Updates deprecated post to reference the new docs/blog content for the replacement feature.

You can also share your feedback on Copilot code review. Take the survey.

res.getSpec().setControllerManagedValue(ADDED_VALUE);
// test assumes we will run this in the next reconciliation
return UpdateControl.patchResource(res).reschedule();
return UpdateControl.<PatchResourceWithSSACustomResource>noUpdate().reschedule();
Signed-off-by: Attila Mészáros <a_meszaros@apple.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@csviri csviri requested a review from Copilot March 13, 2026 13:47
@csviri
Copy link
Collaborator Author

csviri commented Mar 13, 2026

@metacosm @xstefank I will merge this now, we can later improve it

@csviri csviri merged commit 84d7b89 into next Mar 13, 2026
2 of 3 checks passed
@csviri csviri deleted the blog-read-after-write branch March 13, 2026 13:48
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new documentation blog post explaining the new read-cache-after-write consistency guarantees introduced in v5.3.0, and links to it from existing release/news content so readers can find the deeper rationale and details.

Changes:

  • Link the v5.3 release notes to a new “read-after-write consistency” blog post.
  • Add a new blog post describing the problem space, algorithm, and event filtering behavior.
  • Update the older “primary cache for next reconciliation” post to point readers to the new docs + blog post.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.

File Description
docs/content/en/blog/releases/v5-3-release.md Adds a link from release notes to the new blog post.
docs/content/en/blog/news/read-after-write-consistency.md New long-form post describing read-cache-after-write consistency + event filtering.
docs/content/en/blog/news/primary-cache-for-next-recon.md Updates deprecation note to reference the new docs/blog post.

You can also share your feedback on Copilot code review. Take the survey.

Comment on lines +13 to +14
is not required anymore. See the [docs](./../../docs/documentation/reconciler.md#read-cache-after-write-consistency-and-event-filtering) and
related [blog post](read-after-write-consistency.md) for details.

Having the TRC has an additional advantage: since we have the resource instantly in our caches, we can
elegantly continue the reconciliation in the same pass and reconcile resources that depend
on the latest state. More concretely, this also helps with our [Dependent Resources / Workflows](../../docs/documentation/dependent-resource-and-workflows/workflows.md#reconcile-sample)
Comment on lines +13 to +14
is not required anymore. See the [docs](./../../docs/documentation/reconciler.md#read-cache-after-write-consistency-and-event-filtering) and
related [blog post](read-after-write-consistency.md) for details.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update docs and add blogpost for comparable resource version related changes

3 participants